package com.liyang.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @BelongsProject: cloud-2024
 * @BelongsPackage: com.liyang.springcloud.service
 * @Author: liyang
 * @CreateTime: 2023-12-28  14:21
 * @Description: 统一降级服务 实现类
 * @Version: 1.0
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentHystrixService {

    @Override
    public String paymentInfoOK(Integer id) {
        return "通配降级";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "通配降级";
    }
}
